package cn.tedu_03;

import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;

//成员内部类
public class Inner {
    public static void main(String[] args) {

        A. B a = new A().new B();
        a.in();

        System.out.println(new A.D().d);
        System.out.println(A.D.m);



    }


}


class A{
    String name ="jack";
    public void out(){
        System.out.println(new B().age);
        System.out.println("out...");

        System.out.println(new c().b);
    }
    static class D{
        String d ="tony";
        static int m= 10;
    }

    private  class c{
        double b = 10;

    }
    class B{
        int age=20;
        public void in(){
            System.out.println(name);
            System.out.println("in...");
        }
    }

}